<%@ include file="/include.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
	<%-- 
		<tr>
			<td align="center">
				<table style="width:100%">
					<caption>
						报检单查验信息
					</caption>
					<tr><td>
						<table  class="bean">
							<tr class="size">
							  <td width="9%"></td>
							  <td width="11%"></td>
							  <td width="8%"></td>
							  <td width="11%"></td>
							  <td width="8%"></td>
							  <td width="11%"></td>
							  <td width="8%"></td>
							  <td width="11%"></td>
							  <td width="8%"></td>
							  <td ></td>
							</tr>
							<tr>
							  <td class="formLabel" >综合评定</td>
							  <td><mytag:c2s type="testResult" key="${decl.colligateResult}"/></td>
							  <td class="formLabel" >检验评定</td>
							  <td><mytag:c2s type="testResult" key="${decl.inspectionResult}"/></td>
							  <td class="formLabel" >检疫评定</td>
							  <td><mytag:c2s type="testResult" key="${decl.quarantineResult}"/></td>
							  <td class="formLabel" >木包装</td>
							  <td><mytag:c2s type="testResult" key="${decl.packResult}"/></td>
							  <td class="formLabel" >更新时间</td>
							  <td><fmt:formatDate value="${decl.inspectionTime}" pattern="yyyy-MM-dd HH:mm"/> </td>
							</tr>
						</table>
					</td></tr>
				</table>
			</td>
		</tr>
	--%>
		<c:if test="${fn:length(map.containerSituation)!=0||fn:length(map.containerCheckList)!=0}">
			<tr>
				<td>
					<table border="0">
						<tr>
							<td style="width:50%;vertical-align:top;">
								<table>
									<caption>
										集装箱查验信息
									</caption>
									<tr><td>
										<table class="list">
											<tr class="title">
											  <td>序号</td>
											  <td>集装箱规格</td>
											  <td>结果评定</td>
											  <td>不合格原因</td>
											  <td>不合格数量</td>
											  <td>不合格处理</td>
											</tr>
										  	<c:forEach items="${map.containerCheckList}" var="cc"  varStatus="stat">
												<tr>
												  <td>${stat.count}</td>
												  <td><mytag:c2s type="container" key="${cc.containerModelCode}"/></td>
												  <td><mytag:c2s type="testResult" key="${cc.containerResultCode}"/></td>
												  <td><mytag:c2s type="quarCause" key="${cc.containerCauseCode}"/></td>
												  <td>${cc.treatContainerQty}</td>
												  <td><mytag:c2s type="quarMethod" key="${cc.detailTreatCode}"/></td>
												</tr>
										  	</c:forEach>
										</table>
									</td></tr>
								</table>
							</td>
							<td  style="width:50%;vertical-align:top;">
								<table>
									<caption>
										集装箱疫情信息
									</caption>
									<tr><td>
										<table class="list" border="0">
											<tr class="title">
											  <td>序号</td>
											  <td>类别</td>
											  <td>施检对象代码</td>
											  <td>疫情名</td>
											  <td>不合格数量</td>
											  <td>不合格重量</td>
											</tr>
										  	<c:forEach items="${map.containerSituation}" var="pox"  varStatus="stat">
												<tr>
												  <td>${stat.count}</td>
												  <td><mytag:c2s type="inspDest" key="${pox.inspObject}"/></td>
												  <td><mytag:c2s type="container" key="${pox.inspObjectCode}" /></td>
												  <td><mytag:c2s type="pox" key="${pox.situationCode}"/></td>
												  <td>${pox.totalDisquaQty}</td>
												  <td>${pox.totalDisquaValues}</td>
												</tr>
										  	</c:forEach>
										</table>
									</td></tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</c:if>